100 REM ** LFS LABEL MAKER ** 110 REM 120 REM 12/22/86 VERSION 130 REM 140 REM LOUIS F. SANDER 150 REM 153 MAYER DRIVE 160 REM PITTSBURGH, PA 15237 170 REM (412)367-1376 180 : 190 REM ** MAIN LOOP 200 GOSUB270:REM INITIALIZE 210 GOSUB470:REM SHOW LABEL ON SCREEN 220 GOSUB610:REM ALIGN LABELS 230 GOSUB750:REM PRINT LABELS 240 END 250 : 260 REM ** INITIALIZE 270 PRINTCHR$(14);"[147] [204]ABEL [205]AKER - [204]OUIS [198]. [211]ANDER [146] " 280 GOSUB900:REM GET PRINTER NAME 290 PX= 9:REM # PRINT LINES PER LABEL 300 CX=35:REM # CHARACTERS ACROSS LABEL 310 AX= 3:REM # LABELS ACROSS PAGE 320 X$(1)="" 330 X$(2)="[204]OUIS [198]. [211]ANDER" 340 X$(3)="153 [205]AYER [196]RIVE" 350 X$(4)="[208]ITTSBURGH, [208][193] 15237" 360 X$(5)=" * * * * * * * * * * " 370 X$(6)="[195]REATED FOR MY MANY ONLINE FRIENDS" 380 X$(7)="" 390 X$(8)="ON THAT WONDERFUL [209]UANTUM [204]INK" 400 X$(9)=" ------- ----" 410 REM ^^ ONE X$() FOR EACH LABEL LINE 420 FORJ=1TOAX:FORK=1TOPX:A$(J,K)="#"+STR$(K):NEXT:NEXT:REM SET UP TEST PATTERN 430 FORJ=1TOPX:FORK=1TOAX:P$(J,K)=X$(J):NEXT:NEXT:REM SET UP LABELS TO PRINT 440 RETURN 450 : 460 REM ** SHOW LABEL ON SCREEN 470 PRINT" [212]HIS PRINTS ANY NUMBER OF THESE" 480 PRINTPX;"LINE BY";CX;"CHARACTER LABELS,";AX;"[157]-UP" 490 PRINT" ON THE ";PR$;" PRINTER." 500 PRINT" ";:FORJ=1TOCX:PRINT"[185]";:NEXT:PRINT 510 FORJ=1TOPX:PRINT"[182]";P$(J,1);TAB(CX+1);"[161]":NEXT 520 PRINT" ";:FORJ=1TOCX:PRINT"[184]";:NEXT:PRINT 530 PRINT" * [193]NSWER 'I' FOR [201]NSTRUCTIONS * [146] " 540 A$="":INPUT"[201]S THIS WHAT YOU WANT (Y, N OR I) Y[157][157][157]";A$:A$=LEFT$(A$,1) 550 IFA$="Y"THEN580 560 IFA$="I"ORA$="[201]"THENRUN1180 570 PRINT"[195]ORRECT THESE LINES, THEN [210][213][206] AGAIN:":LIST290-409:GOTO240 580 RETURN 590 : 600 REM ** ALIGN LABELS 610 PRINT"[193]LIGN LABELS, TURN PRINTER ON," 620 PRINT"THEN PRESS ..." 630 GETA$:IFA$<>CHR$(13)THEN630 640 OPEN15,4,15:CLOSE15:IFSTTHENPRINT" [208][210][201][206][212][197][210] [201][211] [206][207][212] [207][206][204][201][206][197]! ":GOTO610 650 GOSUB940:REM SET UP PRINTER 660 T$="":INPUT"[208]RINT TEST PATTERN N[157][157][157]";T$:IFLEFT$(T$,1)="N"THEN720 670 GOSUB1020:REM PRINT TEST PATTERN 680 A$="":INPUT"[201]S PRINT ALIGNMENT [207][203] (Y OR N)";A$:A$=LEFT$(A$,1) 690 IFA$="Y"THEN720 700 IFA$<>"N"THEN680 710 PRINT"[210]EALIGN THE LABELS IN THE PRINTER,":CLOSE4:GOTO620 720 RETURN 730 : 740 REM ** PRINT LABELS 750 N=0:INPUT"[200]OW MANY LABELS TO PRINT";N:IFN=0THEN850 760 NR=INT((N/AX)+.999):XX=(NR*AX)-N 770 FORRP=1TONR:IFRP=NRTHENIFXXTHENFORJ=1TOPX:FORK=1TOXX:P$(J,K)="":NEXT:NEXT 780 GOSUB1070:REM PRINT A ROW OF LABELS 790 IF(RP>1)OR(N="N"THEN800 830 PRINT"[210]EALIGN THE LABELS IN THE PRINTER,":CLOSE4:GOSUB620:RP=NR:GOTO750 840 NEXT 850 CLOSE4:PRINT"[164][164][164][164][164][164][164][164][164][164]":PRINT" [198][201][206][201][211][200][197][196]!" 860 RETURN 870 : 880 REM ** PRINTER CUSTOMIZATION 890 REM * SET PRINTER NAME 900 PR$="[196][208][211]-1101" 910 RETURN 920 : 930 REM * SET UP PRINTER 940 OPEN4,4,7:REM UPPER & LOWER CASE 950 PRINT#4,CHR$(27)+"2";:REM CLR TABS 960 TS$=CHR$(27)+"1":REM TS$ SETS TABS 970 FORJ=1TOAX-1:PRINT#4,SPC(CX+1);TS$;:NEXT:REM SET NEW TABS 980 PRINT#4,CHR$(141);:REM CARRIAGE RET 990 RETURN 1000 : 1010 REM * PRINT A$(X,X) AT EACH TAB 1020 FORJ=1TOPX:FORK=1TOAX:PRINT#4,A$(K,J);:IFK